package com.yn.club.subject.application.convert;


import java.util.List;
import com.yn.club.subject.domain.entity.SubjectLabelDO;
import com.yn.club.subject.application.dto.SubjectLabelDTO;
import com.yn.club.subject.application.request.SubjectLabelSaveRequest;
import com.yn.club.subject.application.request.SubjectLabelQueryRequest;
import org.mapstruct.Mapper;
import com.yn.club.common.util.MapStructUtil;
/**
 * 题目标签表(SubjectLabel)DTO和DO转换
 *
 * @author YN
 * @since 2025-01-21 17:40:47
 */
@Mapper(componentModel = "spring", uses = {MapStructUtil.class})
public interface SubjectLabelApplicationConverter {

  SubjectLabelDTO convertDoToDto(SubjectLabelDO ojb);
  
  List<SubjectLabelDTO> convertDoToDto(List<SubjectLabelDO> ojbs);
  
  SubjectLabelDO convertDtoToDo(SubjectLabelDTO ojb);
  
  List<SubjectLabelDO> convertDtoToDo(List<SubjectLabelDTO> ojbs);
  
  SubjectLabelDO convertSaveRequestToDo(SubjectLabelSaveRequest ojb);
  
  SubjectLabelDO convertQueryRequestToDo(SubjectLabelQueryRequest ojb);
  
  
}

